﻿<!doctype html>
 <html >
 <head>
   <meta charset="UTF-8">
   <link rel="stylesheet" href="../../../css/common.css">
   <link rel="stylesheet" href="../../../css/main.css">
   <script type="text/javascript" src="../../../js/jquery.min.js"></script>
   <script type="text/javascript" src="../../../js/colResizable-1.3.min.js"></script>
   <script type="text/javascript" src="../../../js/common.js"></script>
</head>

<body>
  <div id="forms" class="mt10">
        <div class="box">
          <div class="box_border">
            <div class="box_top"><b class="pl15">添加菜单</b></div>
            <div class="box_center">
              <form action="/resource/system/menu/edit" class="jqtransform">
               <table class="form_table pt15 pb15" width="100%" border="0" cellpadding="0" cellspacing="0">
                 <tr>
                  <td class="td_right">菜单名称：</td>
                  <td class="">
                      <input type="hidden" name="menuId" value="${oldMenu.menuId}"/>
                    <input type="text" name="menuName" class="input-text lh30" size="40" value="${oldMenu.menuName}"/>
                  </td>
				  </tr>
                <tr >
                  <td class="td_right">父级菜单：</td>
                  <td class="">
 
                    <span class="fl">
                      <div class="select_border"> 
                        <div class="select_containers "> 
                        <select name="superMenuId" class="select">
						 <option value="0">顶级菜单</option>
                            <#list menu as m>
                                <option value="${m.menuId}" <#if (oldMenu.menuId==m.menuId)>selected</#if> >${m.menuName}</option>
                            </#list>
                        </select> 
                        </div> 
                      </div> 
                    </span>
                  </td>
                 </tr>

				 <tr>
                  <td class="td_right">路径：</td>
				  <td><input type="" name="menuUrl" class="input-text lh30" size="40" value="${oldMenu.menuUrl}"/></td>
                </tr>
                 <tr>
                  <td class="td_right">状态：</td>
                  <td class="">
                    <input type="radio" name="menuStatus" <#if (oldMenu.menuStatus==0)>checked</#if> value="0"/> 启用
                    <input type="radio" name="menuStatus" <#if (oldMenu.menuStatus==1)>checked</#if> value="1"/> 冻结
                  </td>
                 </tr>

                   <tr>
                       <td class="td_right">菜单类型：</td>
                       <td class="">
                           <input type="radio" name="type" value="menu"  <#if (oldMenu.type=="menu")>checked</#if>/> 菜单
                           <input type="radio" name="type" value="pression" <#if (oldMenu.type=="pression")>checked</#if>/> 功能
                       </td>
                   </tr>
                   <tr>
                       <td class="td_right">权限码：</td>
                       <td class="">
                           <input type="text" name="preCode" value="${oldMenu.preCode}" class="input-text lh30" />
                       </td>
                   </tr>
                   <tr>
                 <tr>
                   <td class="td_right">&nbsp;</td>
                   <td class="">
                     <input type="submit" name="button" class="btn btn82 btn_save2" value="保存"> 
                    <input type="button" name="button" class="btn btn82 btn_res" onclick="location.href='javascript:history.go(-1)'" value="返回"> 
                   </td>
                 </tr>
               </table>
               </form>
            </div>
          </div>
        </div>
     </div>
   </div> 
</body>

</html>